﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TopDownOperatorPrecedence
{
    public class PBreakException : Exception
    {

    }

    public class PReturnException : Exception
    {
        public PObject Result { get; private set; }

        public PReturnException(PObject result)
        {
            this.Result = result;
        }
    }
}
